'use strict';

module.exports = app => {
  const { router, controller: { userAndRole } } = app;
  // const userExist = app.middleware.userExist();
  const baseUrl = '/api/userAndRole';
  router.resources('userAndRole', baseUrl, userAndRole);
};
